{include information.inc.header}
{include member.inc.header_web}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/">首页</a>  ><a href="{$index_url}">资讯首页</a>  > {$cate.name}</div>
    <div class="info info_more">
        <div class="cont">
            <section class="left slidesBox" id="focusSlide">
                <ul class="wrap">
                    {loop $advs $adv}
                    <li class="item">
                        <a href="{if $adv[link]}{$adv[link]}{else}javascript:void(0){/if}" target="{if $adv['target']==1}_blank{/if}"><img src="{$adv.content}" width="760" height="470" /></a>
                    </li>
                    {/loop}
                </ul>
                <div class="arrow">
                    <a href="javascript:;" class="left"><i></i></a>
                    <a href="javascript:;" class="right"><i></i></a>
                </div>
            </section>
            <aside class="right hotTag">
                <div class="ad">
                    {if $adtop}
                    <img src="{$adtop.content}" title="{$adtop.title}"/>
                    {else}
                    <img src="/res/mpe/img/web/temp/aside.png"/>
                    {/if}
                </div>
                <div class="header"><h2>热门标签</h2></div>
                <ul>
                    {loop $tags $tag}
                    <li><a class="btn-radius-{if $tag[isHot]}primary{else}default{/if}" href="{url /information/index/search}?tag={$tag.name}">{$tag.name}</a></li>
                    {/loop}
                </ul>
            </aside>
        </div>
        <div class="cont">
            <section class="section left">
                <div class="header">
                    <!--<a class="more_link" href="">更多<i class="icon_add"></i></a>-->
                    <h1>{$cate.name}</h1>
                </div>
                {loop $items $item}
                <article><a href="{$detail_url}?id={$item[id]}">
                    <img class="thumb" src="{if $item[image_url]}{$item.image_url}{else}/res/mpe/img/web/temp/little.png{/if}" />
                    <div class="summary">
                        <h2 title="{$item.title}">{$item.title}</h2>
                        <p>{cut $item[summary] 80}</p>
                        <div class="foot">
                            <time>{expr date("Y-m-d",strtotime($item[addtime]))}</time>
                            <div class="tag">
                                <i class="icon_tag"></i>
                                {loop $item[tagsArr] $tag}
                                <span>{$tag}</span>
                                {/loop}
                            </div>
                        </div>
                    </div>
                </a></article>
                {/loop}
            </section>
            <div class="right">
                {if $admiddle}
                <div class="ad"><img title="{$admiddle.title}" src="{$admiddle.content}" width="400" height="208"/></div>
                {else}
                <div class="ad"><img src="/res/mpe/img/web/temp/ad.png" width="400" height="208"/></div>
                {/if}
                {if $recommend}
                <aside class="aside">
                    <div class="header">
                        <!--<a class="more_link" href="">更多<i class="icon_add"></i></a>-->
                        <h2>咨询推荐</h2>
                    </div>
                    <div class="card">
                        <div class="top">
                            <img class="thumb" src="{if $recommend[0][image_url]}{$recommend[0][image_url]}{else}/res/mpe/img/web/temp/aside.png{/if}"/>
                            <a href="{$detail_url}?id={$recommend[0][id]}" title="{$recommend[0][title]}">{$recommend[0][title]}</a>
                        </div>
                        <ul class="bottom">
                            {loop $recommend $key $value}
                            {if $key>0}
                            <li><a href="/information/index/detail/?id={$value.id}" title="{$value.title}">{$value.title}</a>
                                <time>{expr date("Y-m-d",strtotime($value[addtime]))}</time></li>
                            {/if}
                            {/loop}
                        </ul>
                    </div>
                </aside>
                {/if}
            </div>
        </div>
        <nav class="pageBar2">
            {$pagemenu}
        </nav>
    </div>
</main>


{include member.inc.footer}
{include member.inc.script_web}

<script>
   seajs.use('info',function(info){
       info.indexInit();
   });
</script>
{include member.inc.foot_hook}
</body>
</html>
